package com.wangxl;

/**
 * 季节枚举类
 * @author wangxl
 * @date 2022/2/17 15:55
 */
public enum SeasonEnum {
    SPRING(1,"春天"),
    SUMMER(2,"夏天"),
    AUTUMN(3,"秋天"),
    WINTER(4,"冬天"),;

    private Integer code;
    private String name;

    private SeasonEnum(Integer code, String name){
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
